`
4
R ECON N A ISSA NC E
Every hacking engagement starts with some form of
information gathering. In this chapter, we’ll perform
reconnaissance on targets by writing bash scripts to run
various hacking tools. You’ll learn how to use bash to
automate tasks and chain multiple tools into a single
workflow.
In the process, you’ll develop an important bash-scripting skill:
parsing the output of various tools to extract only the information we
need. Your scripts will interact with tools that figure out what hosts
are online, what ports are open on those hosts, and what services
they are running, then deliver this information to you in the format
you require.
Black Hat Bash (Early Access) © 2023 by Dolev Farhi and Nick Aleks